package com.sgj.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @Author: Guoji Shen
 * @Date: 2021/7/6 11:10
 */
@AllArgsConstructor
public enum GobalEnum {
    USER_NULL(400, "用户名不能为空"),
    USER_SUCESS(200, "请求成功"),
    USER_EXIST(500, "用户名已存在");

    /**
     * 状态码
     */
    @Getter
    private Integer code;

    /**
     * 状态信息
     */
    @Getter
    private String message;
}